//
//  SubjectDetailsTableViewCell.m
//  xiaoyiNew
//
//  Created by TW on 2017/2/8.
//  Copyright © 2017年 讯一. All rights reserved.
//

#import "SubjectDetailsTableViewCell.h"

@implementation SubjectDetailsTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

#pragma mark - 点击 -
//喜欢
- (IBAction)action_likeClick:(UIButton *)sender {
    NSInteger tag = sender.tag - 300;
    switch (tag) {
        case 0:{
            //点赞
            NSLog(@"点赞");
            
        }
            break;
        case 1:{
            //消息
            NSLog(@"消息");
        }
            break;
        case 2:{
            //分享
            NSLog(@"分享");
        }
            break;
        case 3:{
            //撒豆
            NSLog(@"撒豆");
        }
            break;
        default:
            break;
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
